package com.search.util;

/**
 *
 * 日期：2019年4月5日上午10:55:07
 */
public class PageUtil {
	private Integer pageSize;// 分页大小
	private Integer pageCur;// 当前页
	private String sort;// 排序字段
	private String order;// asc desc
	private Integer totalElements;// 总记录数

	public Integer getPageSize() {
		return pageSize;
	}

	public Integer getPageCur() {
		return pageCur;
	}

	public void setPageCur(Integer pageCur) {
		this.pageCur = pageCur;
	}

	public String getSort() {
		return sort;
	}

	public void setSort(String sort) {
		this.sort = sort;
	}

	public String getOrder() {
		return order;
	}

	public void setOrder(String order) {
		this.order = order;
	}

	public Integer getTotalElements() {
		return totalElements;
	}

	public void setTotalElements(Integer totalElements) {
		this.totalElements = totalElements;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	@Override
	public String toString() {
		return "PageUtil [pageSize=" + pageSize + ", pageCur=" + pageCur + ", sort=" + sort + ", order=" + order
				+ ", totalHits=" + totalElements + "]";
	}

}
